package com.hongye.proprietary.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hongye.common.utils.PageUtils;
import com.hongye.common.utils.R;
import com.hongye.proprietary.entity.HongyeOrderEntity;
import com.hongye.proprietary.vo.PayAsyncVo;
import com.hongye.proprietary.vo.RequirementVo;
import com.hongye.proprietary.vo.SaleHomeVo;

import java.util.Map;

/**
 * 订单表
 *
 * @author lins
 * @email 695565697@qq.com
 * @date 2021-10-14 11:16:47
 */
public interface HongyeOrderService extends IService<HongyeOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R confirmOrder();

    R submitOrder(RequirementVo requirementVo);

    R submitOwnerOrder(SaleHomeVo saleHomeVo);

    String payNotify(PayAsyncVo payAsyncVo);

    void closeOrder(HongyeOrderEntity orderEntity);

    void modifyOrderStatus(HongyeOrderEntity orderEntity);

}

